﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EducationAndTrainingRecordUserControl.ascx.cs" Inherits="JM.JCY.SharePointComponent.PersonalInformationDocument.EducationAndTrainingRecord.EducationAndTrainingRecordUserControl" %>
<%@ Assembly Name="NCS.IConnect.ApplicationContexts, Version=3.9.0.0, Culture=neutral, PublicKeyToken=a20767533a162583" %> 
<%@ Import Namespace="NCS.IConnect.ApplicationContexts" %>
<%@ Register Src="../PersonalInformationDocLeftMenu/PersonalInformationDocLeftMenuUserControl.ascx" TagName="PersonalInformationDocLeftMenuUserControl" TagPrefix="uc1" %>
<script src="/_layouts/JM.JCY.Resource/scripts/jQuery.dualListBox-1.3.js" language="javascript" type="text/javascript"></script>
<link href="/_layouts/JM.JCY.Resource/styles/JCYCSS1.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">
    $(document).ready(function () {
        $("#td_Education").click(function () {
            $("#divEducation").slideToggle("slow", function callback() {
                if ($("#divEducation").is(":visible")) {
                    $("#imgBtnEducation").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_collapse.png");
                }
                else {
                    $("#imgBtnEducation").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_expand.png");
                }
            });
        });

        $("#td_TrainingRecord").click(function () {
            $("#DivTrainingRecord").slideToggle("slow", function callback() {
                if ($("#DivTrainingRecord").is(":visible")) {
                    $("#imgBtnTrainingRecord").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_collapse.png");
                }
                else {
                    $("#imgBtnTrainingRecord").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_expand.png");
                }
            });
        });
    });
</script>
<div>
    <table class="main">   
        <tr>
          <td valign="top" width="30%" runat="server" id="tdLeftMenu">
                <uc1:PersonalInformationDocLeftMenuUserControl ID="LeftMenuUserControl1" runat="server" />
            </td>
            <td valign="top" width="70%" runat="server" id="tdContent">
                <table class="content" width="98%">
                    <tr>
                        <td style="padding: 5px;">
                            <table width="100%">
                                <tr>
                                    <td>
                                        <table width="100%" class="galleryHeader">
                                            <tr>
                                                <td id="td_Education" width="100%" style="cursor: pointer">
                                                    <img id="imgBtnEducation" src="/_Layouts/JM.JCY.Resource/images/toggle_expand.png"
                                                        alt="" />&nbsp;学历教育
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                
                                <tr>
                                    <td>
                                        <div id="divEducation" visible="false" style="display: none;">
                                         <table width="95%" class="form">
                                          <tr>
                                               <td>
                                                   <asp:Label ID="EducationNoRecord" runat="server" ForeColor="#CC3300" Text="没有在【政工信息系统】找到相关的学历教育！" Visible="false"></asp:Label>
                                               </td>
                                           </tr>
                                            <tr>
                                               <td>
                                                 <asp:DataList ID="dlEduction" runat="server" OnItemDataBound="dlEduction_ItemDataBound"
                                                Width="100%">
                                                <ItemTemplate>
                                                    <hr runat="server" id="hr" />
                                                    <table width="100%" class="profile">
                                                <tr>
                                                    <td width="20%">
                                                        <b>教育类型</b>
                                                    </td>
                                                    <td width="1%">
                                                      :
                                                    </td>
                                                    <td width="28%">
                                                        <asp:Label ID="lbEducationType" runat="server"></asp:Label>
                                                    </td>
                                                    <td width="20%">
                                                        <b>毕业学校（单位）名称</b>
                                                    </td>
                                                    <td width="1%">
                                                      :
                                                    </td>
                                                    <td width="30%">
                                                        <asp:Label ID="lbSchoolName" runat="server"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">
                                                        <b>专业名称</b>
                                                    </td>
                                                    <td width="1%">
                                                      :
                                                    </td>
                                                    <td width="28%">
                                                        <asp:Label ID="lbProfessionalName" runat="server"></asp:Label>
                                                    </td>
                                                    <td width="20%">
                                                        <b>国民教育类别</b>
                                                    </td>
                                                    <td width="1%">
                                                      :
                                                    </td>
                                                    <td width="30%">
                                                        <asp:Label ID="lbNationalEducationType" runat="server"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">
                                                        <b>国民教育学历</b>
                                                    </td>
                                                    <td width="1%">
                                                      :
                                                    </td>
                                                    <td width="28%">
                                                        <asp:Label ID="lbNationalEducationalBackground" runat="server"></asp:Label>
                                                    </td>
                                                    <td width="20%">
                                                        <b>国民教育学位</b>
                                                    </td>
                                                    <td width="1%">
                                                      :
                                                    </td>
                                                    <td width="30%">
                                                        <asp:Label ID="lbNationalEducationalLevel" runat="server"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">
                                                        <b>党校学历</b>
                                                    </td>
                                                    <td width="1%">
                                                      :
                                                    </td>
                                                    <td width="28%">
                                                        <asp:Label ID="lbPartyEducationalBackground" runat="server"></asp:Label>
                                                    </td>
                                                    <td width="20%">
                                                        
                                                    </td>
                                                    <td width="1%">
                                                     
                                                    </td>
                                                    <td width="30%">
                                                       
                                                    </td>
                                                </tr>
                                            </table>
                                                </ItemTemplate>
                                            </asp:DataList>
                                               </td>
                                            </tr>
                                         </table>
                                        
                                           
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 5px;">
                            <table width="100%">
                                <tr>
                                    <td>
                                        <table width="100%" class="galleryHeader">
                                            <tr>
                                                <td id="td_TrainingRecord" width="100%" style="cursor: pointer">
                                                    <img id="imgBtnTrainingRecord" src="/_Layouts/JM.JCY.Resource/images/toggle_expand.png"
                                                        alt="" />&nbsp;岗位培训
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div id="DivTrainingRecord" visible="false" style="display: none;">
                                          <table width="95%" class="form">
                                          <tr>
                                               <td>
                                                   <asp:Label ID="TrainingNoRecord" runat="server" ForeColor="#CC3300" Text="没有在【政工信息系统】找到相关的岗位培训！" Visible="false"></asp:Label>
                                               </td>
                                           </tr>
                                            <tr>
                                              <td>
                                                <asp:DataList ID="dlTrainingRecord" runat="server" OnItemDataBound="dlTrainingRecord_ItemDataBound"
                                                Width="100%">
                                                <ItemTemplate>
                                                    <hr runat="server" id="hr" />
                                                    <table width="100%" class="profile">
                                                        <tr>
                                                            <td width="15%">
                                                                <b>开始时间：</b>
                                                            </td>
                                                             <td width="1%">
                                                                ：
                                                            </td>
                                                            <td width="24%">
                                                                <asp:Label ID="lbStartDateTime" runat="server"></asp:Label>
                                                            </td>
                                                            <td width="15%">
                                                                <b>结束时间</b>
                                                            </td>
                                                             <td width="1%">
                                                                ：
                                                            </td>
                                                            <td width="44%">
                                                                <asp:Label ID="lbEndDateTime" runat="server"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td width="15%">
                                                                <b>培训类别</b>
                                                            </td>
                                                             <td width="1%">
                                                                ：
                                                            </td>
                                                            <td width="24%">
                                                                <asp:Label ID="lbTrainingType" runat="server"></asp:Label>
                                                            </td>
                                                            <td width="15%">
                                                                <b>培训内容</b>
                                                            </td>
                                                             <td width="1%">
                                                                ：
                                                            </td>
                                                            <td width="44%">
                                                                <asp:Label ID="lbTrainingContent" runat="server"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td width="15%">
                                                                <b>培训机构</b>
                                                            </td>
                                                             <td width="1%">
                                                                ：
                                                            </td>
                                                            <td colspan="4">
                                                                <asp:Label ID="lbTrainingPlace" runat="server"></asp:Label>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </ItemTemplate>
                                            </asp:DataList>
                                              </td>
                                            </tr>
                                          </table>
                                            
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>